package com.ruoyi.self.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 课程信息对象 rm_course
 * 
 * @author ruoyi
 * @date 2019-11-26
 */
public class RmCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程编号 */
    private Long cid;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String cname;

    /** 课程状态 */
    @Excel(name = "课程状态")
    private String cstatus;

    /** 课程类型 */
    @Excel(name = "课程类型")
    private String ctype;

    /** 课程描述 */
    @Excel(name = "课程描述")
    private String cdesc;

    /** 课程图片 */
    @Excel(name = "课程图片")
    private String cimg;

    /** 课程路径 */
    @Excel(name = "课程路径")
    private String cpath;

    /** 课程内容 */
    @Excel(name = "课程内容")
    private String ctext;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdata;

    public void setCid(Long cid) 
    {
        this.cid = cid;
    }

    public Long getCid() 
    {
        return cid;
    }
    public void setCname(String cname) 
    {
        this.cname = cname;
    }

    public String getCname() 
    {
        return cname;
    }
    public void setCstatus(String cstatus) 
    {
        this.cstatus = cstatus;
    }

    public String getCstatus() 
    {
        return cstatus;
    }
    public void setCtype(String ctype) 
    {
        this.ctype = ctype;
    }

    public String getCtype() 
    {
        return ctype;
    }
    public void setCdesc(String cdesc) 
    {
        this.cdesc = cdesc;
    }

    public String getCdesc() 
    {
        return cdesc;
    }
    public void setCimg(String cimg) 
    {
        this.cimg = cimg;
    }

    public String getCimg() 
    {
        return cimg;
    }
    public void setCpath(String cpath) 
    {
        this.cpath = cpath;
    }

    public String getCpath() 
    {
        return cpath;
    }
    public void setCtext(String ctext) 
    {
        this.ctext = ctext;
    }

    public String getCtext() 
    {
        return ctext;
    }
    public void setCreatedata(Date createdata) 
    {
        this.createdata = createdata;
    }

    public Date getCreatedata() 
    {
        return createdata;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cid", getCid())
            .append("cname", getCname())
            .append("cstatus", getCstatus())
            .append("ctype", getCtype())
            .append("cdesc", getCdesc())
            .append("cimg", getCimg())
            .append("cpath", getCpath())
            .append("ctext", getCtext())
            .append("createdata", getCreatedata())
            .toString();
    }
}
